package com.idreems.model;

import java.io.Serializable;
import java.util.List;

import com.huewu.pla.pinterest.internal.ImageWrapper;

public abstract class ServerDataDecoder implements Serializable{
	
	public static final String kJsonkeyWrapper = "kJsonkeyWrapper";
	
    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * display for ui
     * @return
     */
    abstract public String title();
    /**
     * 服务器初始数据url
     * @return
     */
    abstract public String url(int page);

    /**
     * 服务器返回数据解析
     * @param obj
     * @return
     */
    abstract public List<ImageWrapper> decode(String obj);
}
